home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 August / August CD.bin / Shareware / Games / Core War / Battle Programs / contest92 / A08 Broom2 < prev    next >
Text File  |  1993-01-14  |  1KB  |  47 lines

  1. ;
  2. ;    Broom2
  3. ;
  4. ;    Author:    Mark A. Durham
  5. ;    Date:    December 14, 1992
  6. ;
  7. ; strategy    Broom2 loads up 8000 synchronized tasks with 13 "SPL 1"
  8. ; strategy    instructions, then traps opponents with a single
  9. ; strategy    "MOV trap, <0" instruction, and then bombs until time
  10. ; strategy    expires using 11 "MOV bomb, <0" instructions.  Broom2 takes
  11. ; strategy    advantage of the 192 instruction buffer provided by the
  12. ; strategy    difference in core size and maximum number of tasks.  This
  13. ; strategy    is also its Achille's heel.  If an opponent places itself
  14. ; strategy    within the 192 instruction buffer, it will not be found.
  15. ;
  16. ;    Load the gun with 8000 shots.
  17. start    SPL    1        ; 2
  18.     SPL    1        ; 4
  19.     SPL    1        ; 8
  20.     SPL    1        ; 16
  21.     SPL    1        ; 32
  22.     SPL    1        ; 64
  23.     SPL    1        ; 128
  24.     SPL    1        ; 256
  25.     SPL    1        ; 512
  26.     SPL    1        ; 1024
  27.     SPL    1        ; 2048
  28.     SPL    1        ; 4096
  29.     SPL    1        ; 8000
  30.     MOV    trap,    <0    ; Trap opponent
  31.     MOV    bomb,    <0    ; Kill opponent
  32.     MOV    bomb,    <0    ; Just in case, and wait for end
  33.     MOV    bomb,    <0
  34.     MOV    bomb,    <0
  35.     MOV    bomb,    <0
  36.     MOV    bomb,    <0
  37.     MOV    bomb,    <0
  38.     MOV    bomb,    <0
  39.     MOV    bomb,    <0
  40.     MOV    bomb,    <0
  41.     MOV    bomb,    <0
  42. trap    SPL    0
  43. bomb    DAT    #0,    #0
  44.     END    start
  45.  
  46.  
  47.